package cz.najman.emdroid.utils;

public interface DataMapper {

	/**
	 * Returns the corresponding int value to the String key.
	 * Null if the specified key not found.
	 * @param name
	 * @return
	 */
	public int getCorrespondingIndex(String name);
	
	/**
	 * Adds new mapping.
	 * @param key
	 * @param value
	 */
	public void putMapping(String key, int value);
	
	/**
	 * Remove the existing mapping with specified key.
	 * @param key
	 */
	public void removeMapping(String key);
	
}
